/*
 * Copyright (c) United Binary LLC.  All rights reserved.
 * 
 * This code is licensed under the MIT License
 * 
 * SEE: http://harnessit.codeplex.com/license
 * 
 */
using System;
using System.ComponentModel;

namespace UnitedBinary.UnitTests.Framework
{
	/// <include file='comments.xml' path='Docs/TestClassAttribute/Class/*'/>
	[Serializable]
	[AttributeUsage(AttributeTargets.Class)]
	public sealed class TestClassAttribute : System.Attribute
	{
		#region Member Variables
		private string desc = "";
		#endregion

		#region Construction
		/// <include file='comments.xml' path='Docs/TestClassAttribute/ctor/*'/>
		public TestClassAttribute()
		{
		}

		/// <include file='comments.xml' path='Docs/TestClassAttribute/ctor_string/*'/>
		public TestClassAttribute(string description)
		{
			if (description == null)
			{
				description = "";
			}

			desc = description;
		}
		#endregion

		#region Data Access Properties
		/// <include file='comments.xml' path='Docs/TestClassAttribute/Description/*'/>
		[EditorBrowsable(EditorBrowsableState.Never)]
		public string Description
		{
			get
			{
				return desc;
			}
		}
		#endregion
	}
}